home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 07 - 1991 / 07.11 Nov 91 / Icon List source / CObject.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-01-19  |  668 b   |  22 lines  |  [TEXT/KAHL]

  1. /* •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  2.  
  3.         Interface for the Object Class
  4.         
  5.         Copyright © 1989 Symantec Corporation. All rights reserved.
  6.         
  7.         Modified by Rob, 900116.
  8.  
  9.     ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• */
  10.  
  11. #define        CLASS_COBJECT
  12.  
  13. /*** these have to go somewhere... */
  14. typedef        void (*VoidFunc)();            /* Ptr to a function returning void    */
  15. typedef        Boolean (*BooleanFunc)();    /* Ptr to a Boolean function        */
  16. typedef        long (*LongFunc)();            /* Ptr to a function returning long    */
  17.  
  18. /* •••••••••• base object •••••••••• */
  19. struct CObject : indirect {
  20.     void                Dispose(void);
  21.     CObject            *Copy(void);
  22.     };